package dome3;

import java.util.Arrays;

public class Text {
    public static void main(String[] args) {
        Student[] students = {
                new Student("小明",95.4),
                new Student("小红",86.4),
                new Student("小亮",76.4)
        };
        Arrays.sort(students);
        System.out.println(Arrays.toString(students));
    }
}
